package com.itheima.dao.system;


import com.itheima.domain.system.User;
import org.apache.ibatis.annotations.Param;

public interface UserDao {

   User findByEmailAndPwd(@Param("username") String username, @Param("password") String password);

   User findByEmailAndPN(@Param("email") String email, @Param("phoneNum") String phoneNum);

    User findById(String id);

    void update(User user);
}
